<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body>
    <button onclick="getData()">获取数据</button>
</body>

<script>
    function getData(){
        $.get('http://localhost/order/getFilterData',function(data){
            alert(data)
        })
    }
</script>
</html>